package com.example.voucher.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@TableName("voucher_document")
public class Voucher {
    @TableId(value = "PKID", type = IdType.AUTO)
    private Long pkid;

    private String leName;

    private Date accountDate;

    private Date busiDate;

    private String accountPeroid;

    private String docType;

    private String docCode;

    private Long entryNum;

    private String summary;

    private String subject;

    private String currCode;

    private BigDecimal exchangeRate;

    private String direction;

    private BigDecimal bcAmt;

    private BigDecimal qty;

    private BigDecimal price;

    private BigDecimal debitAmt;

    private BigDecimal creditAmt;

    private String addedByCode;

    private String addedByName;

    private Date addedTime;

    private String lastModifiedByCode;

    private String lastModifiedByName;

    private Date lastModifiedTime;

    private String docByCode;

    private String docByBane;

    private Date docByTime;

    private String tranferByCode;

    private String tranferByName;

    private Date tranferByTime;

    private String auditByCode;

    private String auditByName;

    private Date auditByTime;

    private Long fileNum;

    private String tranferTag;

    private String mecDocModule;

    private String isDelete;

    private String docSeq;

    private String unit;

    private String referInfo;

    private String isCashFlow;

    private String cashFlowTag;

    private String busiCode;

    private String settlementMode;

    private String settlementCode;

    private String subSummary;

    @TableField("ITEM_1")
    private String item1;

    @TableField("ITEM_1_CODE")
    private String item1Code;

    @TableField("ITEM_1_NAME")
    private String item1Name;

    @TableField("ITEM_2")
    private String item2;

    @TableField("ITEM_2_CODE")
    private String item2Code;

    @TableField("ITEM_2_NAME")
    private String item2Name;

    @TableField("ITEM_3")
    private String item3;

    @TableField("ITEM_3_CODE")
    private String item3Code;

    @TableField("ITEM_3_NAME")
    private String item3Name;

    @TableField("ITEM_4")
    private String item4;

    @TableField("ITEM_4_CODE")
    private String item4Code;

    @TableField("ITEM_4_NAME")
    private String item4Name;

    @TableField("ITEM_5")
    private String item5;

    @TableField("ITEM_5_CODE")
    private String item5Code;

    @TableField("ITEM_5_NAME")
    private String item5Name;

    @TableField("ITEM_6")
    private String item6;

    @TableField("ITEM_6_CODE")
    private String item6Code;

    @TableField("ITEM_6_NAME")
    private String item6Name;

    @TableField("ITEM_7")
    private String item7;

    @TableField("ITEM_7_CODE")
    private String item7Code;

    @TableField("ITEM_7_NAME")
    private String item7Name;

    @TableField("ITEM_8")
    private String item8;

    @TableField("ITEM_8_CODE")
    private String item8Code;

    @TableField("ITEM_8_NAME")
    private String item8Name;

    private String invoiceNo;

    private String exchangeNo;

    private String customerName;

    private String feeType;

    private String receiverName;

    private String materiel;

    private String finOrg;

    private String supplierName;

    private Date subBusiDate;

    private Date dueDate;

    private String sourceOrderType;

    private String sourceSubType;

    private String laAttr01;

    private String laAttr02;

    private String laAttr03;

    private String laAttr04;

    private String laAttr05;

    private String tenantCode;

    private String industryCode;

    @TableLogic(value = "T", delval = "F")
    private String valid;

    private String taskCode;

    private String paramIsSubmit;

    private String paramIsVerify;

    private String paramIsCashFlow;

    private String voucherCode;

    private String voucherStatus;

    private String voucherStatusDesc;

    @TableField("PARAM_ITEM_4")
    private String paramItem4;

    @TableField("PARAM_ITEM_5")
    private String paramItem5;

    @TableField("PARAM_ITEM_6")
    private String paramItem6;

    private String accountYear;

}